import nonebot
from nonebot import get_driver, get_bot, on_command, on_notice
from nonebot.plugin import on_regex
from nonebot.rule import to_me
from nonebot.adapters import Message, MessageSegment
from nonebot.adapters.cqhttp import Bot, Event

driver = get_driver()

on_help = on_regex(r"小美-help", priority=90)


@on_help.handle()
async def _(bot: Bot, event: Event):
    help_text = "[王小美热心提示]：\n" + \
                "-管理员：\n" \
                "   [戳我] 获取服务器状态提示\n" + \
                "   [命令] 私聊关闭=关闭私聊特殊功能\n" + \
                "   [命令] 私聊开启=开启私聊特殊功能\n" + \
                "-涩批：\n" + \
                "   来张色图" +\
                "   [命令] 更新图库\n" + \
                "   [命令] 查看图库\n" + \
                "   [命令] 私聊关闭=被骂\n" + \
                "   [命令] 私聊开启=被骂\n" + \
                "*定时：\n" + \
                "   [21:30] 自动开启特殊私聊\n" + \
                "   [02:00] 自动关闭特殊私聊"

    await on_help.send(help_text)
